//1.加载文件操作，fs模块
var fs = require('fs');
var path = require('path');
var rootPath = path.resolve(__dirname,"../../")
var msg = "module.exports={ base:'/' }"

console.log("xkcyy发布:"+"启动发布")
console.log("xkcyy发布:"+"1.开始修改基础路径")
fs.writeFileSync(path.join(__dirname,'../../../.vuepress/base-path.js'),msg,'utf8') 
console.log("xkcyy发布:"+"1.成功修改基础路径")
// 2.编译
